-- GENERATED SPELL FOR [Lead Cannoneer Zierhut] --


function spell0_27235(pUnit, Event) --@Torch Toss,n/a--
pUnit:FullCastSpellOnTarget(50832,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_27235', 31500, 1)
end

function Sorts_27235(pUnit, Event)
local choix_sorts_27235 = math.random(0, 0)
if choix_sorts_27235 == 0 then
pUnit:RegisterEvent('spell0_27235', 1, 1)
end
end

function mob27235_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_27235', math.random(1500, 3000), 1)
end

function mob27235_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob27235_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob27235_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(27235, 1, 'mob27235_Action')
RegisterUnitEvent(27235, 2, 'mob27235_Leave')
RegisterUnitEvent(27235, 3, 'mob27235_Kill')
RegisterUnitEvent(27235, 4, 'mob27235_Die')
